<template>
    <div>
        <img src="https://assets.maizuo.com/h5/mz-auth/public/app/img/logo.19ca0be.png" alt="">
        <div>
        <input type="text" maxlength="11" placeholder="请输入手机号">  
            <button>获取验证码</button>
        </div>
        <div>
            <input type="text" placeholder="请输入验证码">
        </div>
        <button @click="handleClick">登录</button>
    </div>
</template>



<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
const handleClick = () => {
    localStorage.setItem('token', "aaa")
    router.push('/')
}
</script>